jQuery('tbody#estimate_body').html('<%= escape_javascript render("estimate") %>');
jQuery('tfoot#paging_links').html('<%= escape_javascript render("application_partials/paging") %>');
jQuery('#active_links').html('<%= escape_javascript render("filter_links") %>');
<% @recovered = params[:archived] ? 'archived' : 'deleted' %>
jQuery(".alert.alert-success").show().find('span').html("Estimate(s) are recovered from <%= @recovered %> successfully.");
jQuery('#active_links a').removeClass('active');
jQuery('.get_actives').addClass('active');
jQuery('.recover_deleted, .recover_archived').hide();
jQuery('.archive,.destroy,.convert_to_invoice,.send').show();
jQuery('.get_actives').addClass('active');
bind_deleted_entry();